# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-eliot
pkgver=1.14.0
pkgrel=2
pkgdesc="Logging system that tells you why it happened"
# Requires unpackaged dask and cffi for testing journald
options="!check"
url="https://github.com/itamarst/eliot"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six py3-zope-interface py3-pyrsistent py3-boltons
	py3-twisted"
makedepends="py3-setuptools"
checkdepends="py3-hypothesis py3-testtools py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/itamarst/eliot/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/eliot-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
fd008da73ddc28f37393ffefb280e04d3a31528ea6eba2e530cfef516a850596ae9df59f031ed004ad22f16a654843692b22ea90dfe0ef95590c4e793877f7fc  py3-eliot-1.14.0.tar.gz
"
